﻿using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace NotesVaultOnline.Data.Models
{
    public class CustomResult
    {
        public enum ResultType
        {
            Error,
            Success,
            Info,
            Warning
        }

        [JsonConverter(typeof(StringEnumConverter))]
        public ResultType Type { get; set; }
        public string Message { get; set; }
        public string Data { get; set; }
    }
}
